package com.cssw.fyzb.core.dao.acct;

import com.cssw.fyzb.core.model.dodb.AdapayAcct;
import com.cssw.fyzb.core.model.dodb.RnbExchangeFDef;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author yangyiqun
 * @create 2020-12-21 16:04
 */
public interface AdapayAcctDao {

    AdapayAcct getById(Long userId);

    void add(Long userId, String gender, String nickName, String telNo, String userName, String certType, String certId, String disabled);

    void add(Long userId, String gender, String nickName, String telNo, String userName, String certType, String certId,
                String settleAcctId, String bankCode, String bankName, String cardId, String bankAcctType, String provCode, String areaCode, String disabled);

    void updateSettleAcct(Long userId, String settleAcctId, String bankCode, String bankName, String cardId, String bankAcctType, String provCode, String areaCode);

    void deleteSettleAcct(Long userId);

    void update(AdapayAcct adapayAcct);
}
